package Chapter07.Homework;
//员工
public class Employees {
    int number;//工号
    String name;
    String gender;
    String position;//职务
    int salary;//薪水
    String id;
    int year;

    public Employees() {
    }

    public Employees(int number, String name, String gender, String position, int salary, String id, int year) {
        this.number = number;
        this.name = name;
        this.gender = gender;
        this.position = position;
        this.salary = salary;
        this.id = id;
        this.year = year;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }
}
